#include "SQLTable.h"


class CAccountTbl : public CSqlTable
{
public:
	CAccountTbl();
	static bool checkAcc(CString sUser,CString sPass,CString& sCode);
	static bool isExitAcount(const CString& sUser);

	static bool insertAcount(CString sUser,CString sPass, CString sCodeStaff);
	static bool deleteAcount(CString sUser);
	static bool updateAcount(CString sUser,CString sPass);
	static CString getUseFromAcount(CString sUser);
	static vector<CString> getListAcc(CString sMSNV);
	static bool isEmpty();
	
};